package com.juzi.wopu.domain;

public class CartShelfResponse extends CartShelf{

	private String smallImgPath;// 封装的小图片
	
	private String subTypeName;
	
	public String getSmallImgPath() {
		return smallImgPath;
	}

	public void setSmallImgPath(String smallImgPath) {
		this.smallImgPath = smallImgPath;
	}
	
	public String getSubTypeName() {
		return subTypeName;
	}

	public void setSubTypeName(String subTypeName) {
		this.subTypeName = subTypeName;
	}

	/**
	 * 封装商品里面的所有属性
	 * @param cartShelf
	 */
	public CartShelfResponse(CartShelf cartShelf){
		this.setiId(cartShelf.getiId());
		this.setiType(cartShelf.getiType());
		this.setiGoodsId(cartShelf.getiGoodsId());
		this.setsProductName(cartShelf.getSProductName());
		this.setsProductImage(cartShelf.getsProductImage());
		this.setdPrice(cartShelf.getdPrice());
		this.setDtStart(cartShelf.getDtStart());
		this.setDtEnd(cartShelf.getDtEnd());
		this.setiSupplierId(cartShelf.getiSupplierId());
		this.setsSupplierName(cartShelf.getsSupplierName());
		this.setiCompany(cartShelf.getICompany());
		this.setsCompany(cartShelf.getsCompany());
		this.setiPlaceId(cartShelf.getiPlaceId());
		this.setsPlaceName(cartShelf.getsPlaceName());
		this.setiInsertUser(cartShelf.getiInsertUser());
		this.setDtInsert(cartShelf.getDtInsert());
		this.setDtUpdate(cartShelf.getDtUpdate());
		this.setiUpdateUser(cartShelf.getiUpdateUser());
		this.setICount(cartShelf.getICount());
		this.setiSold(cartShelf.getiSold());
		this.setiStatus(cartShelf.getiStatus());
		this.setiTypeSub(cartShelf.getiTypeSub());
		this.setiDeliver(cartShelf.getiDeliver());		
		this.setSysCode(cartShelf.getSysCode());
	}
}
